import { createPinia } from 'pinia'
import persist from 'pinia-plugin-persistedstate'

const pinia = createPinia()
pinia.use(persist)
export default pinia

// export * from './modeles/user'
// 上面一行代码就相当于下面的两行代码
// import {useUserStore} from './modeles/user'
// export {useUserStore}

export * from './modeles/user'
export * from './modeles/consult'
